﻿using com.iot.core.annotation;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Linq;

namespace com.iot.core.data.entity
{
    [Schema(Name = "开发类表", Description = "")]     
    public class HtCls : BaseEntity, ISoftDeletedEntity
    {



        [Comment("代码名称")]
        [Schema(Name = "代码名称", Description = "")]
        [MaxLength(20)]
        public string PrjName { get; set; } = "";


        [Comment("类名称")]
        [Schema(Name = "类名称", Description = "")]
        [MaxLength(100)]
        public string FullName { get; set; } = "";


        [Comment("类名称")]
        [Schema(Name = "类名称", Description = "")]
        [MaxLength(50)]
        public string Name { get; set; } = "";


        [Comment("备注")]
        [Schema(Name = "备注", Description = "")]
        public string Memo { get; set; } = "";


        [Comment("类型")]
        [Schema(Name = "类型", Description = "")]
        [MaxLength(50)]
        public string BaseType { get; set; } = "";


        [Comment("Json数据")]
        [Schema(Name = "Json数据", Description = "")]
        public string JsonFields { get; set; } = "";


        [Comment("创建日期")]
        [Schema(Name = "创建日期", Description = "")]
        public DateTime CrtDt { get; set; }


        [Comment("更新日期")]
        [Schema(Name = "更新日期", Description = "")]
        public DateTime EdtDt { get; set; }


        [Comment("删除标志")]
        [Schema(Name = "删除标志", Description = "")]
        public bool Deleted { get; set; }
    }
}
